package com.woniu.supermarket.service;


import com.github.pagehelper.PageInfo;
import com.woniu.supermarket.entity.PurchaseCheck;
import com.woniu.supermarket.entity.PurchaseReturn;
import com.woniu.supermarket.entity.PurchaseReturnCheck;
import com.woniu.supermarket.vo.PurchaseReturnVo;

import java.util.List;

public interface IPurchaseReturnService {
    PageInfo<PurchaseReturnVo> findByCons(Integer now, Integer size, String returnNumber,Integer status);
    List<PurchaseReturn> findAll();
    int modifyPurchaseReturn(PurchaseReturnVo purchaseReturnVo);
    int removePurchaseReturnById(Integer id);
    int addPurchaseReturn(PurchaseReturnVo purchaseReturnVo);
    int auditPurchaseReturnCheck(PurchaseReturnCheck purchaseReturnCheck);

    PageInfo<PurchaseReturnVo> findByCons1(Integer now, Integer size, String returnNumber, Integer status, Integer purchaseId);
}
